{% load static %}

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{% block title %}井冈山经贸学校{% endblock %}</title>
    <link href="{% static 'common/css/base.css' %}" rel="stylesheet">
    <link rel="icon" href="{% static 'common/images/favicon.ico' %}" type="image/x-icon">
    <link href="{% static 'common/css/layui.css' %}" rel="stylesheet">
    <script src="{% static 'common/js/layui.js' %}"></script>
    {% block style %}
    {% endblock %}
      <style>
        /* 设置页面水印 */
        body {
          position: relative;
          background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Ctext x='50%25' y='50%25' font-size='20' fill='rgba(0,0,0,0.1)' text-anchor='middle' dominant-baseline='middle' transform='rotate(-45 100 100)'%3E{{ request.user.username }} {{ request.user.first_name }}%3C/text%3E%3C/svg%3E");
          background-repeat: repeat;
        }
      </style>
</head>
<body>
    <main>
        {% block content %}{% endblock %}
    </main>
    <footer>
        <div class="power">
          <span >
            Copyright&nbsp;©&nbsp;2024 <a class="a-color" href="mailto:zhyoung@live.cn" ><font weight="bold">Zhyoung, All Rights Reserved. Mail: zhyoung@live.cn</font></a>
          </span> 
        </div>
    </footer>
</body>
</html>
